import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
type int = number;
//class SPeaceFieldInfo
    
    export  class SPeaceFieldInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.fieldId.__write(arg1);
            arg1.writeInt(this.playerNum);
            arg1.writeBool(this.haveEnter);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.fieldId = new SEntityId();
            this.fieldId.__read(arg1);
            this.playerNum = arg1.readInt();
            this.haveEnter = arg1.readBool();
            return;
        }

        public /* var */fieldId: SEntityId;

        public /* var */playerNum: int;

        public /* var */haveEnter: Boolean;
    }
